Returns the result of evaluating the specified interlock.
Syntax
Interlock(InterlockName As String, [InterlockLocation As AS_WFINTERLOCK_LOCATION = AS_WFIL_PARENT_PROJECT], [DefaultResult As Boolean = False]) As Boolean
Name | Description |
---|---|
InterlockName |
The name of the interlock to evaluate. |
InterlockLocation |
The location of the interlock to evaluate expressed as one of the AS_WFINTERLOCK_LOCATION constants. |
DefaultResult |
A value to return by default if the interlock is not satisfied. |
Related concepts
Related information
ProjectTypeDisplayName property
GetExpectedTransitionResult method